package com.bwda.dsrs.filecenter.service;


import com.bwda.dsrs.filecenter.domain.condition.clientappversion.SensitiveRexTemplateCondition;
import com.bwda.dsrs.filecenter.domain.exception.BusinessServiceException;
import com.bwda.dsrs.filecenter.domain.vo.clientappversion.SensitiveRexTemplate;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 脱敏
 *
 * @author youzhen
 * @date 2019 /4/19
 */
public interface ToolCenterService extends BaseService<SensitiveRexTemplate, SensitiveRexTemplateCondition> {

    /**
     * 上传文件
     *
     * @param file     file
     * @param userCode user code
     * @return string
     * @throws BusinessServiceException business service exception
     */
    String uploadFile(MultipartFile file, String userCode) throws BusinessServiceException;
}
